package com.yt.order.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yt.order.models.dto.DispatchRuleConfigDTO;
import java.util.List;

/**
 * 派单规则配置Mapper
 *
 * @author chen
 * @Date 2025-09-22
 */
public interface DispatchRuleConfigMapper extends BaseMapper<DispatchRuleConfigDTO> {
    /**
     * 查询启用的规则（按优先级倒序）
     */
    List<DispatchRuleConfigDTO> selectEnabledRules();
}